﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using YLPublicService.Common;
namespace TestProject1
{
    [TestClass]
    public class UnitTest2
    {
        [TestMethod]
        public void TestMethod1()
        {
            FtpHelper helper = new FtpHelper(new int[] { 127, 0, 0, 1 }, "yladmin", "admin");
            var ls = helper.GetTemplateNames();
            Assert.AreEqual<string>(ls.First(), "简洁廉价版");
            Assert.AreEqual<string>(ls.ElementAt(1), "简洁廉价版2号");

        }
    }
}
